<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>数据交换系统管理-在线填报和导入Excel</title>

    <!-- Bootstrap Core CSS -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="../css/sb-admin.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="../font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <style>
        #top{
            width: 100%;
            background: url("../img/banner.jpg") no-repeat 100% 100%;
        }
        .logo{
            width: 440px;
            border: none;
            background: url("../img/logo-.png") no-repeat 100% 100%;
        }
        #fill-sxqy{
            background-color: #666;padding: 10px;color: #fff
        }
        #fill-wfcf{
            background-color: #666;padding: 10px;color: #fff
        }
        #fill-table{
            background-color: #f5f5f5;
            color: #bc7211;
        }
        #fill-table tr td input{
            border-left:0px;border-top:0px;border-right:0px;border-bottom:1px
        }
        #fill-table2{
            background-color: #f5f5f5;
            color: #af000f;
        }
        #fill-table2 tr td input{
            border-left:0px;border-top:0px;border-right:0px;border-bottom:1px
        }
    </style>
</head>

<body>

<div id="wrapper">

    <!-- Navigation -->
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header" id="top">
            <div class="logo"></div>
            <a class="navbar-brand" href="../module/index.html"></a>

        <!-- Top Menu Items -->
            <ul class="nav navbar-right top-nav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color: #fff"><i class="fa fa-user"></i> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="../login.html"><i class="fa fa-fw fa-power-off"></i> 退 出</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
        <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
        <div class="collapse navbar-collapse navbar-ex1-collapse">
            <ul class="nav navbar-nav side-nav">
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo1"><i class="fa fa-fw fa-arrows-v"></i>法人库信息<i class="fa fa-fw fa-caret-down"></i></a>
                    <ul id="demo1" class="collapse">
                        <li>
                            <a href="../fr/pushDataToMlk.html">推送数据到名录库</a>
                        </li>
                        <li>
                            <a href="../fr/dataComparse.html">数据比对</a>
                        </li>
                        <li>
                            <a href="../fr/fileCabinets.html">文件柜-导出基本信息</a>
                        </li>
                        <li>
                            <a href="../fr/NB_fileCabinets.html">文件柜-导出年报信息</a>
                        </li>
                        <li>
                            <a href="../fr/viewLog.html">查看日志</a>
                        </li>
                    </ul>
                </li>
                <li class="active">
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo2" aria-expanded="true"><i class="fa fa-fw fa-table"></i>名录库信息<i class="fa fa-fw fa-caret-down"></i></a>
                    <ul id="demo2" class="collapse in" aria-expanded="true">
                        <li>
                            <a href="pushDataToFrk.html">推送数据到法人库</a>
                        </li>
                        <li>
                            <a class="main-a" href="#">在线填报和导入Excel</a>
                        </li>
                        <li>
                            <a href="viewPushLog.html">查看推送日志</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a class="main-a" href="../userManagement.html"><i class="fa fa-fw fa-wrench"></i>用户管理</a>
                </li>
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </nav>

    <div id="page-wrapper">

        <div class="container-fluid">

            <div class="container-fluid">
                <ul class="nav nav-tabs" id="myTab">
                    <li class="active"><a href="#importExcel" data-toggle="tab" class="card-table">导入Excel</a></li>
                    <li><a href="#onlineReporting" data-toggle="tab" class="card-table">在线填报</a></li>
                </ul>

                <div class="tab-content">
                    <div class="tab-pane active" id="importExcel">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="col-md-5">
                                    <ul class="nav">
                                        <fieldset class="importFile-box">
                                            <legend>导入Excel</legend>
                                            <span class="glyphicon glyphicon-folder-open file-logo"></span>
                                            <div class="font-wet"><h4>导入《严重失信企业信息表数据》Excel</h4></div>
                                            <button id="dwn-sxqy" type="button" class="btn btn-default btn-sm btn-style-1">下载模板</button>
                                        </fieldset>
                                        <div class=" text-center">
                                            <form name="import-form" id="form-sxqy" action="#" method="post" enctype="multipart/form-data" target="import-sxqy-iframe">
                                                <input id="import-sxqy" type="file" name="file" class="btn btn-default btn-sm btn-warning" value="导入Excel"
                                                       accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">
                                            </form>
                                            <iframe style="display: none" name="import-sxqy-iframe" id="iframe-sxqy"></iframe>
                                        </div>
                                        <div style="min-height: 200px;"></div>
                                    </ul>
                                </div>
                                <div class="col-md-5">
                                    <ul class="nav">
                                        <fieldset class="importFile-box">
                                            <legend>导入Excel</legend>
                                            <span class="glyphicon glyphicon-folder-open file-logo"></span>
                                            <div class="font-wet"><h4>导入《违反统计法的行政处罚信息》Excel</h4></div>
                                            <button id="dwn-wfcf" type="button" class="btn btn-default btn-sm btn-style-1">下载模板</button>
                                        </fieldset>
                                        <div class=" text-center">
                                            <form name="import-form" id="form-wfcf" action="#" method="post" enctype="multipart/form-data" target="import-wfcf-iframe">
                                                <input id="import-wfcf" type="file" name="file" class="btn btn-default btn-sm btn-warning" value="导入Excel"
                                                       accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">
                                            </form>
                                            <iframe style="display: none" name="import-wfcf-iframe" id="iframe-wfcf"></iframe>
                                        </div>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane" id="onlineReporting">
                        <div class="row">
                            <div class="col-lg-12">
                                <!--切换标签-->
                                <div class="col-md-12">
                                    <ul class="nav">
                                        <div class="text-center margin-top">
                                            <a id="fill-sxqy" href="#yzsxqyxx" data-toggle="tab" class="btn btn-default active">严重失信企业信息</a>
                                            <a id="fill-wfcf" href="#wftjfxzcfxx" data-toggle="tab" class="btn btn-default">违反统计法行政处罚信息</a>
                                        </div>
                                        <div style="min-height: 10px;"></div>
                                    </ul>
                                </div>
                                <!--切换内容-->
                                <div class="tab-content">
                                    <!--严重失信企业信息内容-->
                                    <div class="col-md-12 tab-pane active" id="yzsxqyxx">
                                        <ul class="nav">
                                            <fieldset class="importFile-box font-wet">
                                                <legend class="font-wet">严重失信企业信息</legend>
                                                <form class="form-horizontal" role="form" id="sx-form" method="post" action="">
                                                    <div class="col-md-12 tab-pane active"  style="overflow-y: auto">
                                                        <table id="fill-table" class="table-responsive table-bordered col-md-12">
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">失信唯一标识</label></td>
                                                                <td> <input class="form-control" name="BLACKID" type="text"
                                                                            onkeyup="this.value=this.value.replace(/\D/g,'')"
                                                                            onafterpaste="this.value=this.value.replace(/\D/g,'')">
                                                                </td>
                                                                <td><label class="control-label no-padding-right">企业唯一标识</label></td>
                                                                <td> <input class="form-control" name="ETPSID" type="text"
                                                                            onkeyup="value=value.replace(/[\W]/g,'') "
                                                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">组织机构代码</label></td>
                                                                <td><input class="form-control" name="ORGCODE" type="text"
                                                                           onkeyup="value=value.replace(/[\W]/g,'') "
                                                                           onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                                                                </td>
                                                                <td><label class="control-label no-padding-right">统一社会信用代码</label></td>
                                                                <td> <input class="form-control" name="UNISCID" type="text"
                                                                            onkeyup="value=value.replace(/[\W]/g,'') "
                                                                            onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">详细名称</label></td>
                                                                <td><input class="form-control" name="DETNAME" type="text"></td>
                                                                <td><label class="control-label no-padding-right">法定代表人</label></td>
                                                                <td><input class="form-control" name="LEREP" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">住所</label></td>
                                                                <td><input class="form-control" name="DOM" type="text"></td>
                                                                <td> <label class="control-label no-padding-right">统计违法行为</label></td>
                                                                <td><input class="form-control" name="STAILLBE" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">依法处理情况</label></td>
                                                                <td><input class="form-control" name="ACCLAWMSG" type="text"></td>
                                                                <td><label class="control-label no-padding-right">处罚决定文书号</label></td>
                                                                <td><input class="form-control" name="PENDECNO" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">违法行为类型</label></td>
                                                                <td><input class="form-control" name="ILLEGACTTYPE" type="text"></td>
                                                                <td><label class="control-label no-padding-right">处罚种类</label></td>
                                                                <td><input class="form-control" name="PENTYPE" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">罚款金额</label></td>
                                                                <td><input class="form-control" name="PENAM" type="text"></td>
                                                                <td><label class="control-label no-padding-right">没收金额</label></td>
                                                                <td><input class="form-control" name="FORFAM" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">做出行政处罚决定机关名称</label></td>
                                                                <td> <input class="form-control" name="JUDAUTH" type="text"></td>
                                                                <td><label class="control-label no-padding-right">做出处罚决定书日期</label></td>
                                                                <td><input class="form-control" name="PENDECISSDATE" type="date"></td>
                                                            </tr>
                                                            <tr>
                                                                <td> <label class="control-label no-padding-right">数据提取时间</label></td>
                                                                <td colspan="3"><input class="form-control" name="S_EXT_TIMESTAMP" type="date"></td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                    <div class="col-sm-6"><button id="sx-save" type="button" class="btn btn-default btn-lg dropColor">保 存</button></div>
                                                    <div class="col-sm-6 pull-right"><button id="sx-reset" type="reset" class="btn btn-default btn-lg dropColor">重 置</button></div>
                                                </form>
                                            </fieldset>
                                        </ul>
                                    </div>
                                    <!--违反统计法行政处罚信息内容-->
                                    <div class="col-md-12 tab-pane" id="wftjfxzcfxx">
                                        <ul class="nav">
                                            <fieldset class="importFile-box">
                                                <legend>违反统计法和行政处罚信息</legend>
                                                <form class="form-horizontal" role="form" id="wf-form">
                                                    <div class="col-md-12 tab-pane active"  style="overflow-y: auto">
                                                        <table id="fill-table2" class="table-responsive table-bordered col-md-12">
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">处罚唯一标识</label></td>
                                                                <td><input class="form-control" name="PUNISHID" type="text"
                                                                           onkeyup="this.value=this.value.replace(/\D/g,'')"
                                                                           onafterpaste="this.value=this.value.replace(/\D/g,'')">
                                                                </td>
                                                                <td><label class="control-label no-padding-right">企业唯一标识</label></td>
                                                                <td><input class="form-control" name="ETPSID" type="text"
                                                                           onkeyup="value=value.replace(/[\W]/g,'') "
                                                                           onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">组织机构代码</label></td>
                                                                <td><input class="form-control" name="ORGCODE" type="text"
                                                                           onkeyup="value=value.replace(/[\W]/g,'') "
                                                                           onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                                                                </td>
                                                                <td><label class="control-label no-padding-right">统一社会信用代码</label></td>
                                                                <td><input class="form-control" name="UNISCID" type="text"
                                                                           onkeyup="value=value.replace(/[\W]/g,'') "
                                                                           onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">详细名称</label></td>
                                                                <td><input class="form-control" name="DETNAME" type="text"></td>
                                                                <td><label class="control-label no-padding-right">法定代表人</label></td>
                                                                <td><input class="form-control" name="LEREP" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">住所</label></td>
                                                                <td><input class="form-control" name="DOM" type="text"></td>
                                                                <td><label class="control-label no-padding-right">统计违法行为</label></td>
                                                                <td><input class="form-control" name="STAILLBE" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">依法处理情况</label></td>
                                                                <td><input class="form-control" name="ACCLAWMSG" type="text"></td>
                                                                <td><label class="control-label no-padding-right">处罚决定文书号</label></td>
                                                                <td><input class="form-control" name="PENDECNO" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">违法行为类型</label></td>
                                                                <td><input class="form-control" name="ILLEGACTTYPE" type="text"></td>
                                                                <td><label class="control-label no-padding-right">处罚种类</label></td>
                                                                <td><input class="form-control" name="PENTYPE" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">罚款金额</label></td>
                                                                <td><input class="form-control" name="PENAM" type="text"></td>
                                                                <td><label class="control-label no-padding-right">没收金额</label></td>
                                                                <td><input class="form-control" name="FORFAM" type="text"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">做出行政处罚决定机关名称</label></td>
                                                                <td><input class="form-control" name="JUDAUTH" type="text"></td>
                                                                <td><label class="control-label no-padding-right">做出处罚决定书日期</label></td>
                                                                <td><input class="form-control" name="PENDECISSDATE" type="date"></td>
                                                            </tr>
                                                            <tr>
                                                                <td><label class="control-label no-padding-right">数据提取时间</label></td>
                                                                <td colspan="3"><input class="form-control" name="S_EXT_TIMESTAMP" type="date"></td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                    <div class="col-sm-6"><button type="button" id="wf-save" class="btn btn-default btn-lg dropColor">保 存</button></div>
                                                    <div class="col-sm-6 pull-right"><button id="wf-reset" type="reset" class="btn btn-default btn-lg dropColor">重 置</button></div>
                                                </form>
                                            </fieldset>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- /.container-fluid -->
            <footer class="footer col-lg-11 ">
                <br>
                <ul class="list-inline text-center">
                    <li><a href="http://www.supermap.com/cn/" target="_blank">技术支持：</a></li><li id="info">北京超图股份有限公司@SuperMap</li>
                </ul>
            </footer>

        </div>
        <!-- /.container-fluid -->

    </div>
    <!-- /#page-wrapper -->

</div>

<!-- Excel模板下载内嵌页 -->
<iframe id="ifr-download" style="display: none">
    <a class="ui label">正在下载中。。。</a>
</iframe>

<!-- /#wrapper -->

<!-- jQuery -->
<script src="../js/jquery.js"></script>

<script src="fillAndImportExcel.js"></script>
<script src="../lib/page/SGIS.Base.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../js/bootstrap.min.js"></script>
<script src="../lib/sea/sea.js"></script>
<script src="../js/index.js"></script>
<script>
    $("body").ready($("#info").html(getInfo()));
    function getInfo() {
        var date = new Date();
        return "©1997-"+date.getFullYear()+" 北京超图软件股份有限公司 京ICP备11032883号-1";
    }
</script>
<script>
    seajs.config({
        base:SGIS.URL.SEAJS_BASE
    });
    seajs.use('ml/importExcel',function(m){
        $("#import-sxqy").change(function(){
            new m("import-sxqy","iframe-sxqy","form-sxqy",callback_sx,"xlsx");
        })
        $("#import-wfcf").change(function(){
            new m("import-wfcf","iframe-wfcf","form-wfcf",callback_wf,"xlsx");
        })
    });
</script>

</body>

</html>
